package StudyCode.summary.Basic.mystring;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringToShort {
	public static void main(String[] args) {
		String str = "101";
		short s = Short.parseShort(str);
		short s1 = Short.valueOf(str);
		System.out.println("转换后:");
		System.out.println(s);
		System.out.println(s1);
	}
}
